<!--
programe:
    user click the button then show the date
history:
    2014-9-26  liuxu frist release
-->
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script>
    function displayDate(){
        document.getElementById("demo").innerHTML = Date();
    }
</script>    

</head>
<body>
    <h1>我的第一个JavaScript 程序</h1>
    <p id="demo">这是一个段落</p>
    <button type="button" onclick ="displayDate()">显示日期</button>
</body>
</html> 
	
